package com.zhou.core.os.v3_oshi.entity;

/**
 * Created by zhouyongjun on 2020/7/10
 */
public class OSHISystem extends AbstractOSHIEntity {
    OSHISystemCpu cpu;
    OSHIOwnSelf ownSelf;
    OSHISysLoad sysLoad;
    OSHIDesk desk;
    OSHIMemory memory;
    OSHINet net;
    String inet4Ip;
    public OSHISystemCpu getCpu() {
        return cpu;
    }

    public void setCpu(OSHISystemCpu cpu) {
        this.cpu = cpu;
    }

    public OSHIOwnSelf getOwnSelf() {
        return ownSelf;
    }

    public void setOwnSelf(OSHIOwnSelf ownSelf) {
        this.ownSelf = ownSelf;
    }

    public OSHISysLoad getSysLoad() {
        return sysLoad;
    }

    public void setSysLoad(OSHISysLoad sysLoad) {
        this.sysLoad = sysLoad;
    }

    public OSHIDesk getDesk() {
        return desk;
    }

    public void setDesk(OSHIDesk desk) {
        this.desk = desk;
    }

    public OSHIMemory getMemory() {
        return memory;
    }

    public void setMemory(OSHIMemory memory) {
        this.memory = memory;
    }

    public OSHINet getNet() {
        return net;
    }

    public void setNet(OSHINet net) {
        this.net = net;
    }

    public String getInet4Ip() {
        return inet4Ip;
    }

    public void setInet4Ip(String inet4Ip) {
        this.inet4Ip = inet4Ip;
    }

    @Override
    public OSHITypeEnum oshiTypeEnum() {
        return OSHITypeEnum.SYSTEM;
    }
}
